/* 在文件开头添加 */
.b2-1,
.b3-1,
.b4-1 {
  display: none; /* 初始完全隐藏 */
}

.xlcd {
  display: flex; /* 显示时恢复flex布局 */
  opacity: 1;
  pointer-events: auto;
}
.guding {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
header {
  width: 100%;
  height: 56px;
  background: #25292e;
  display: flex;
  justify-content: center;
}
.a1 {
  width: 1000px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.a1 > img {
  height: 56px;
  width: auto;
}
.a1 > ul {
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
.a1-1 {
  width: auto;
  height: 56px;
  line-height: 56px;
  color: #ccc;
}
.a1 > ul > li:first-child {
  margin-right: 8px;
}
.a1 > ul > li:nth-child(2) {
  margin-right: 15px;
}
.a1-2 {
  width: auto;
  height: 0.8em;
  line-height: 0.8em;
  border-left: 2px solid #666;
  color: #666;
  padding: 0 15px;
}
.a1-3 {
  width: auto;
  height: 56px;
  line-height: 56px;
  color: #666;
}
.a1-2:hover,
.a1-3:hover {
  color: #ccc;
}
nav {
  width: 1000px;
  height: 49px;
  display: flex;
  font-size: 15px;
  background: #fff;
}
.b7 {
  width: 260px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid #ededed;
  position: relative;
}
.b7 > img {
  width: 38px;
  height: 30px;
}
.b7 > input {
  width: 214px;
  height: 30px;
  border: none;
  outline: none;
  background: none;
  padding-top: 10px;
  padding-left: 12px;
  opacity: 0;
}
.b7-1 {
  height: auto;
  width: 100%;
  position: absolute;
  bottom: -4px;
  border-bottom: 4px solid #000;
  opacity: 0;
}
.b7-1,
.b7 > input {
  opacity: 0;
  transform: translateX(15px); /* 从右侧偏移一点 */
  transition: opacity 0.4s ease, transform 0.3s ease;
}
.b7-1.show,
.b7 > input.show {
  opacity: 1;
  transform: translateX(0);
}

.b1 {
  width: 68px;
  height: 49px;
  line-height: 49px;
  border-bottom: 4px solid #ededed;
}
.b2,
.b3,
.b4,
.b5 {
  display: flex;
  justify-content: center;
  width: 136px;
  height: 49px;
  line-height: 49px;
  border-bottom: 4px solid #ededed;
  position: relative;
}
.b6 {
  display: flex;
  justify-content: center;
  width: 128px;
  line-height: 49px;
  border-bottom: 4px solid #ededed;
}
.b4:hover,
.b2:hover,
.b3:hover,
.b1:hover,
.b5:hover,
.b6:hover {
  border-bottom-color: #000;
}

.b2-1 {
  height: 280px;
  width: 1000px;
  display: none;
  z-index: 1001;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: #000;
  opacity: 0;
  background: #fff;
  // transition: opacity 0.3s ease;
  pointer-events: none;
}
// .b2:hover + .b2-1 {
//   opacity: 1;
// }
.b2-1-2 {
  padding-top: 20px;
  width: 760px;
  height: 260px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(3, 1fr);
  row-gap: 10px;
  column-gap: 10px;
}
.b2-1-1 > img {
  width: 35px;
  height: 35px;
}
.b2-1-3 {
  width: 240px;
  height: 280px;
  display: flex;
  justify-content: end;
  align-items: end;
  flex-direction: column;
}

.b2-1-1 > a {
  order: 2;
  font-weight: 600;
  display: flex;
  height: auto;
}
.b2-1-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
.b2-1-3 > img {
  width: 230px;
  height: 230px;
}
.b2-1-3 > p {
  width: 220px;
  height: 30px;
}
.b3-1 {
  height: 200px;
  width: 1000px;
  display: none;
  z-index: 1001;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: #000;
  opacity: 0;
  background: #fff;
  // transition: opacity 0.3s ease;
  align-items: center;
  pointer-events: none;
}
.b3-2 {
  height: 140px;
  width: 85%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.b3-2 > a:hover {
  color: rgb(164, 3, 3);
}
// .b3:hover + .b3-1 {
//   opacity: 1;
// }
.b4-1 {
  height: 200px;
  width: 1000px;
  display: none;
  z-index: 1001;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: #000;
  opacity: 0;
  background: #fff;
  // transition: opacity 0.3s ease;
  align-items: center;
  pointer-events: none;
}
.b4-2 {
  height: 140px;
  width: 85%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.b4-2 > a:hover {
  color: rgb(246, 243, 243);
}
// .b4:hover + .b4-1 {
//   opacity: 1;
// }

.nav-fixed {
  position: fixed !important;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.gd-fixed {
  position: fixed !important;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.xlcd {
  opacity: 1;
  pointer-events: auto; /* 允许鼠标交互 */
}
